Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parallel parsing, fix logging and deprecation warnings #1620

Merged
merged 5 commits into from
Nov 16, 2024

Conversation

hannahbast
Copy link
Member

@hannahbast hannahbast commented Nov 15, 2024

#1537 introduced various pecularities in the logging regarding parallel parsing. In particular, for a single input stream, a deprecation warning is shown even when --parse-parallel or -p are explicity specified on the command line, which is the recommended behavior. This code is now refactored, with a more uniform and informative logging, and a deprecation warning is only shown when it should be.

Hannah Bast added 2 commits November 15, 2024 20:55
So far, for a single input stream, the warnings also shows when `--parse-parallel`
or `-p` are explicity specified when calling `IndexBuilderMain`, which
is the recommended behavior. This is now fixed and the warnin is only
shown when it should be.
Copy link

codecov bot commented Nov 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.31%. Comparing base (26a3d42) to head (b81d670).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1620   +/-   ##
=======================================
  Coverage   89.31%   89.31%           
=======================================
  Files         374      373    -1     
  Lines       35376    35377    +1     
  Branches     3997     3999    +2     
=======================================
+ Hits        31595    31598    +3     
  Misses       2492     2492           
+ Partials     1289     1287    -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@hannahbast hannahbast changed the title Fix backwards-compatibility warning for --parse-paralel Fix logging and deprecation warnings for parallel parsing Nov 16, 2024
@hannahbast hannahbast changed the title Fix logging and deprecation warnings for parallel parsing Parallel parsing, fix logging and deprecation warnings Nov 16, 2024
@sparql-conformance
Copy link

Conformance check failed ❌

Test Status Changes 📊

Number of Tests Previous Status Current Status
6 Passed Failed

Details: https://qlever.cs.uni-freiburg.de/sparql-conformance-ui?cur=b81d670fa94bd512f23c4dadd8fdc5d1a7a2aea0&prev=26a3d42137e744a96db5e8cae13221c03ea7c6f6

Copy link

sonarcloud bot commented Nov 16, 2024

@hannahbast hannahbast merged commit 39ca684 into master Nov 16, 2024
21 of 22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant